package com.taotao.feign.config;


import com.taotao.feign.proxy.SwFeignInvocationHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

/**
 * @author 余胜军
 * @ClassName MayiktAutoConfiguration
 * @qq 644064779
 * @addres www.mayikt.com
 * 微信:yushengjun644
 */
@Import(FeignClientsRegistrar.class)
public class SWAutoConfiguration {
    @Bean
    public SWFeignConfig SWFeignConfig() {
        return new SWFeignConfig();
    }

    @Bean
    public SwFeignInvocationHandler SwFeignInvocationHandler() {
        return new SwFeignInvocationHandler();
    }
}
